package com.tang.log.repository;

import com.tang.log.domain.AdminSuccessLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author tang jun liang
 * @Date 2023/5/20 17:10
 */

public interface AdminSuccessLogRepository extends MongoRepository<AdminSuccessLog, String> {


    Page<AdminSuccessLog> findByOrderByExecuteTimeDesc(Pageable pageable);
}
